<template>
	<view class="top">
		<uni-card style="margin-top: 0px;border-radius: 10px;">
			<uni-section v-for="item in this.CheStatement" style="margin-top: -10px;margin-bottom: -10px;" :title="item.cheShop.storeName"
				:sub-title="item.createTime">
				<template v-slot:right>
					<text style="font-weight: bold;">{{item.realPrice}}元</text>
				</template>
        <u-divider text=""></u-divider>
			</uni-section>


		</uni-card>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
        CheStatement:[],
			}
		},
    onLoad() {
      this.getData();
    },
		methods: {
			getData() {
  			const that = this;
        this.$http({
          url: `/api/management/management/UserId?userId=${uni.getStorageSync('user_id')}`,
          method: 'GET',
          success(res) {
            that.CheStatement = res.data.data;
            // console.log(that.CheStatement);
          }
        })
			}
		},
	}
</script>

<style>
.top {
		height: 150px;
		background-image: url("../../../static/images/ly/组 6.png");
	}
</style>
